class CreateJobRuns < ActiveRecord::Migration
  def self.up
    create_table :job_runs do |t|
      t.integer :job_id
      t.integer :crawl_id
      t.datetime :finished_at
      t.string :error

      t.timestamps
    end
  end

  def self.down
    drop_table :job_runs
  end
end
